.rpx(@name, @rpx) { //定义通用公式
    @{name}: @rpx * 1rpx
	}
.w(@width){.rpx(width,@width);}
.h(@height){.rpx(height,@height);}
.w-h(@width,@height) {
  .rpx(width,@width);
  .rpx(height,@height);
}
.b-radius(@b-radius){
.rpx(border-radius,@b-radius);
.rpx(-webkit-border-radius,@b-radius);
}
// 琛ョ櫧
.padding(@top,@right,@bottom,@left){
  .rpx(padding-top,@top);
  .rpx(padding-right,@right);
  .rpx(padding-bottom,@bottom);
  .rpx(padding-left,@left);
}
.pl(@pl){.rpx(padding-left,@pl);}
.pr(@pr){.rpx(padding-right,@pr);}
.pt(@pt){.rpx(padding-top,@pt); }
.pb(@pb){.rpx(padding-bottom,@pb);}

// 澶栬竟璺�
.margin(@top,@right,@bottom,@left){
  .rpx(margin-top,@top);
  .rpx(margin-right,@right);
  .rpx(margin-bottom,@bottom);
  .rpx(margin-left,@left);
}
.ml(@ml){.rpx(margin-left,@ml);}
.mr(@mr){.rpx(margin-right,@mr);}
.mt(@mt){.rpx(margin-top,@mt); }
.mb(@mb){.rpx(margin-bottom,@mb);}
.top(@top) {.rpx(top,@top);}

.fz(@fz){.rpx(font-size,@fz);}
.text(@fz,@color){.rpx(font-size,@fz); color: @color;}
.t-left{text-align:left;}
.t-center{text-align:center;}
.t-right{text-align:right;}
.d-block{display:block;}
.d-none{display:none;}
.d-inline{display:inline;}
.d-in-block {display:inline-block;}
.f-weight{ font-weight:bold;}
.v-middle{vertical-align: middle;}
.v-top{vertical-align: top;}
.l-height(@l-height){.rpx(line-height,@l-height)}
/*定义弹性盒*/
.flex{display:flex; display:-webkit-flex;}
.flex-inline{display: inline-flex; display:-webkit-inline-flex;}
.flex-between {justify-content:space-between;-webkit-justify-content:space-between;}
.flex-around {justify-content:space-around;-webkit-justify-content:space-around;}
.flex-start{justify-content:flex-start;-webkit-justify-content:flex-start;}
.flex-end{justify-content:flex-end;-webkit-justify-content:flex-end;}
.item-center{align-items:center;-webkit-align-items:center;}
.item-end{align-items:flex-end;-webkit-align-items:flex-end;}
.flex-center {justify-content:center;-webkit-justify-content:center;}
.flex-wrap{flex-wrap: wrap;-webkit-flex-wrap: wrap;}
.flex1 {flex:1;-webkit-flex: 1;}
.flexbetween {.flex; .flex-between;}
.flexaround {.flex;.flex-around;}

.ellipsis1 {overflow: hidden;text-overflow:ellipsis; white-space: nowrap;.d-in-block;}
.trans4 { transition: all .4s;-webkit-transition: all .4s;}
.scale05{transform:scale(1.05,1.05);}
@s:solid; @d:dashed;@url:'./img';
.w100{width:100%;}
.m0auto {margin: 0 auto;}
// 定义色值
.bg-white {
	background-color: #fff;
}
 .pt130 {
	 padding-top:130rpx;
 }
